package com.atguigu.qqzone.service;

import com.atguigu.qqzone.pojo.Reply;
import com.atguigu.qqzone.pojo.Topic;

import java.util.List;

/**
 * @InterfaceName: ReplyService
 * @Description:
 * @Author: wty
 * @Date: 2022/12/9
 */

public interface ReplyService {

    /**
     * 获取指定日志的回复列表
     *
     * @param topic
     * @return
     */
    public List<Reply> getReplyList(Topic topic);

    /**
     * 添加回复
     *
     * @param reply
     */
    public void addReply(Reply reply);


    /**
     * 删除回复
     *
     * @param id
     */
    public void delReply(Integer id);
}
